
package com.shycloud.mido.task.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 会员信息
 *
 * @author LiuW
 * @date 2019-03-15 14:10:49
 */
@Data
@TableName("sm_member_sign")
@EqualsAndHashCode(callSuper = true)
public class MemberSign extends Model<MemberSign> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 用户id
	 */
	private String memberId;
	/**
	 * 更新时间
	 */
	private LocalDateTime updateTime;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
	/**
	 * 七天连续签到时间
	 */
	private Integer contDays;
	/**
	 * 签到次数
	 */
	private Integer totalCont;
}
